/*
 * @Description  :
 * @Autor        : guoxi
 * @Date         : 2022-08-04 17:02:50
 * @LastEditors  : Please set LastEditors
 * @LastEditTime : 2022-08-04 17:11:07
 * @FilePath     : \rpms\src\components\ReCharts\src\types.ts
 */
export interface DataProps {
  stageStatus: string;
  stageTotal: string | number;
  name?: string;
  value?: string | number;
}

export const projectStage = new Map([
  ["0", "建档"],
  ["1", "可研"],
  ["2", "立项"],
  ["3", "实施"],
  ["4", "验收"],
  ["5", "后评价"]
]);

export const projectStage2 = [
  "建档 ",
  "可研",
  "立项",
  "实施",
  "验收",
  "后评价",
  "项目已结束"
];

export interface OtherDataProps {
  projectType: string;
  proTypeTotal: string | number;
  name?: string;
  value?: string | number;
}

export const projectType = new Map([
  ["1", "基础研究"],
  ["2", "应用研究"],
  ["3", "试验发展"],
  ["4", "实质性改进"]
]);
